package com.qf.dao;

import com.qf.entity.C_v;

import java.sql.SQLException;
import java.util.List;

public interface C_vDao {
    int addC_v(C_v c_v) throws SQLException;

    //根据cid和vid查询出对应的记录
    C_v selectC_vByVidAndCid(Integer vid, Integer cid) throws SQLException;

    //查询总记录数
    int selectC_vCount() throws SQLException;

    //查询当前页集合
    List<C_v> selectC_vListByPage(Integer currentPageNo, Integer pageSize) throws SQLException;

    //根据cid删除发放记录
    int deleteC_vByCid(Integer cid) throws SQLException;


}
